package cn.sz.dzy.sgg.netty.groupchat;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

/**
 * @version : v1.0.0
 * @program: netty-demo
 * @description:
 * @author: DingZhenYun
 * @create: 2025-03-10 20:35
 **/

public class GroupChatClientHandler extends SimpleChannelInboundHandler<String> {
    @Override
    protected void channelRead0(ChannelHandlerContext channelHandlerContext, String msg) throws Exception {
        System.out.println(msg.trim());
    }
}
